<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<title>修改信息</title>
<style>
/* 整体表单样式 */
form {
    background-color: #e4cfa1;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 5px #0000001a;
}

/* 标签样式 */
label {
    font-size: 16px;
    color: #333333;
    display: block;
    margin-bottom: 5px;
}

/* 输入框样式 */
input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 16px;
}

input[type="text"]:focus {
    border-color: #6ba5e2;
    outline: none;
}

/* 提交按钮样式 */
input[type="submit"] {
    background-color: #007BFF;
    color: #FFFFFF;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}
</style>
</head>

<body>
    <div class="container">
        <h1>修改教室预约信息</h1>
        <hr />
        <form method="post">
            <fieldset>
                <legend>修改教室预约信息</legend>
                <table>
                    <tr>
                        <td><label>Id</label></td>
                        <td><input type="text" name="id" value="<%= data.id %>" disabled /></td>
                    </tr>
                    <tr>
                        <td><label>姓名</label></td>
                        <td><input type="text" name="username" value="<%= data.username %>" /></td>
                    </tr>
                    <tr>
                        <td><label>教室</label></td>
                        <td>
                            <input type="text" name="classroom" value="<%= data.classroom %>" />
                        </td>
                    </tr>
                    <tr>
                        <td><label>预约日期</label></td>
                        <td><input type="text" name="date" value="<%= data.date %>" /></td>
                    </tr>
                </table>
                <input type="submit" />
            </fieldset>
        </form>
    </div>
</body>

</html>